package com.cy.pj.goods.service;

import com.cy.pj.goods.pojo.Goods;
import org.apache.ibatis.annotations.Delete;

import java.util.List;

public interface GoodsService {
    List<Goods> findGoods();

    @Delete("delete from tb_goods where id=#{id}")
    int deleteById(Integer id);

    int deleteObject(Integer... ids);

}
